import axios from 'axios';
import BaseURL from './api';

export default class UserService {
    static async login(data) {
        const res = await axios.post(
            BaseURL+'/users/login',
            data
        )
        return res;
    }
    static async signup(data) {
        const res = await axios.post(
            BaseURL+'/users/signup',
            data
        )
        return res;
    }
}
